package com.life.constants;

import java.awt.Color;
import java.awt.GridBagConstraints;

public class Constants
{

    public static boolean IS_APPLET = false;

    public static final int SMALL_COLLECTION_SIZE = 10;

    public static final int MEDIUM_COLLECTION_SIZE = 50;

    public static final int LARGE_COLLECTION_SIZE = 100;

    public static final int DEFAULT_X_BOUNDS = 100;

    public static final int DEFAULT_Y_BOUNDS = 100;

    public static final boolean DEAD = false;

    public static final boolean ALIVE = true;

    public static final String DEFAULT_B_VALUES = "3";

    public static final String DEFAULT_S_VALUES = "23";

    public static final int SPEED_MINIMUM = 1;

    public static final int SPEED_MAXIMUM = 10;

    public static final int SPEED_START = 5;

    public static final int SPEED_STEP = 1;

    public static final int SIMULATION_OFFSET = 25;

    public static final String PLAY_WIDGET = "PLAY_WIDGET";

    public static final String STOP_WIDGET = "STOP_WIDGET";

    public static final String RECORD_WIDGET = "RECORD_WIDGET";

    public static final String PAUSE_WIDGET = "PAUSE_WIDGET";

    public static final String SLIDER_WIDGET = "SLIDER_WIDGET";

    public static final String SPEED_WIDGET = "SPEED_WIDGET";

    public static final String RADIO_GROUP_WIDGET = "RADIO_GROUP_WIDGET";

    public static final String USER_DEFINED_SURVIVAL_WIDGET = "USER_DEFINED_SURVIVAL_WIDGET";

    public static final String USER_DEFINED_BIRTH_WIDGET = "USER_DEFINED_BIRTH_WIDGET";

    public static final String PRBL_SURVIVAL_0_PERCENT_WIDGET = "PRBL_SURVIVAL_0_PERCENT_WIDGET";

    public static final String PRBL_SURVIVAL_1_PERCENT_WIDGET = "PRBL_SURVIVAL_1_PERCENT_WIDGET";

    public static final String PRBL_SURVIVAL_2_PERCENT_WIDGET = "PRBL_SURVIVAL_2_PERCENT_WIDGET";

    public static final String PRBL_SURVIVAL_3_PERCENT_WIDGET = "PRBL_SURVIVAL_3_PERCENT_WIDGET";

    public static final String PRBL_SURVIVAL_4_PERCENT_WIDGET = "PRBL_SURVIVAL_4_PERCENT_WIDGET";

    public static final String PRBL_SURVIVAL_5_PERCENT_WIDGET = "PRBL_SURVIVAL_5_PERCENT_WIDGET";

    public static final String PRBL_SURVIVAL_6_PERCENT_WIDGET = "PRBL_SURVIVAL_6_PERCENT_WIDGET";

    public static final String PRBL_SURVIVAL_7_PERCENT_WIDGET = "PRBL_SURVIVAL_7_PERCENT_WIDGET";

    public static final String PRBL_SURVIVAL_8_PERCENT_WIDGET = "PRBL_SURVIVAL_8_PERCENT_WIDGET";

    public static final String PRBL_BIRTH_0_PERCENT_WIDGET = "PRBL_BIRTH_0_PERCENT_WIDGET";

    public static final String PRBL_BIRTH_1_PERCENT_WIDGET = "PRBL_BIRTH_1_PERCENT_WIDGET";

    public static final String PRBL_BIRTH_2_PERCENT_WIDGET = "PRBL_BIRTH_2_PERCENT_WIDGET";

    public static final String PRBL_BIRTH_3_PERCENT_WIDGET = "PRBL_BIRTH_3_PERCENT_WIDGET";

    public static final String PRBL_BIRTH_4_PERCENT_WIDGET = "PRBL_BIRTH_4_PERCENT_WIDGET";

    public static final String PRBL_BIRTH_5_PERCENT_WIDGET = "PRBL_BIRTH_5_PERCENT_WIDGET";

    public static final String PRBL_BIRTH_6_PERCENT_WIDGET = "PRBL_BIRTH_6_PERCENT_WIDGET";

    public static final String PRBL_BIRTH_7_PERCENT_WIDGET = "PRBL_BIRTH_7_PERCENT_WIDGET";

    public static final String PRBL_BIRTH_8_PERCENT_WIDGET = "PRBL_BIRTH_8_PERCENT_WIDGET";

    public static final String PREDEFINED_1_WIDGET = "PREDEFINED_1_WIDGET";

    public static final String PREDEFINED_2_WIDGET = "PREDEFINED_2_WIDGET";

    public static final String PREDEFINED_3_WIDGET = "PREDEFINED_3_WIDGET";

    public static final String PREDEFINED_4_WIDGET = "PREDEFINED_4_WIDGET";

    public static final String PREDEFINED_5_WIDGET = "PREDEFINED_5_WIDGET";

    public static final String PREDEFINED_6_WIDGET = "PREDEFINED_6_WIDGET";

    public static final String PREDEFINED_7_WIDGET = "PREDEFINED_7_WIDGET";

    public static final String PREDEFINED_8_WIDGET = "PREDEFINED_8_WIDGET";

    public static final String PREDEFINED_9_WIDGET = "PREDEFINED_9_WIDGET";

    public static final String PREDEFINED_10_WIDGET = "PREDEFINED_10_WIDGET";

    public static final String PREDEFINED_11_WIDGET = "PREDEFINED_11_WIDGET";

    public static final String PREDEFINED_12_WIDGET = "PREDEFINED_12_WIDGET";

    public static final String RULES_APPLY_WIDGET = "RULES_APPLY_WIDGET";

    public static final String USE_PREDEFINED_WIDGET = "USE_PREDEFINED_WIDGET";

    public static final String USE_USER_DEFINED_WIDGET = "USE_USER_DEFINED_WIDGET";

    public static final String USE_PRBL_DEFINED_WIDGET = "USE_PRBL_DEFINED_WIDGET";

    public static final String LIFE_APPLICATION_FRAME = "LIFE_APPLICATION_FRAME";

    public static final int MAX_BOARD_SIZE = 300;

    public static final int MIN_BOARD_SIZE = 10;

    public static final int BOARD_STEP = 10;

    public static final int START_BOARD_SIZE = 50;

    public static final String BOARD_SIZE_APPLY_WIDGET = "BOARD_SIZE_APPLY_WIDGET";

    public static final String BOARD_WIDTH_WIDGET = "BOARD_WIDTH_WIDGET";

    public static final String BOARD_HEIGHT_WIDGET = "BOARD_HEIGHT_WIDGET";

    public static final int MAX_GENERATE_LIFE_SIZE = 10000;

    public static final int MIN_GENERATE_LIFE_SIZE = 50;

    public static final int GENERATE_LIFE_STEP = 50;

    public static final int GENERATE_LIFE_START = 1000;

    public static final String GENERATE_LIFE_APPLY_WIDGET = "GENERATE_LIFE_APPLY_WIDGET";

    public static final String GENERATE_LIFE_SPINNER_WIDGET = "GENERATE_LIFE_SPINNER_WIDGET";

    public static final String ERASE_LIFE_WIDGET = "ERASE_LIFE_WIDGET";

    public static final String ITERATION_WIDGET = "ITERATION_WIDGET";

    public static final String CURRENT_RULE_WIDGET = "CURRENT_RULE_WIDGET";

    public static final String GENERATE_STATISTICS_WIDGET = "GENERATE_STATISTICS_WIDGET";

    public static final String GENERATE_PROGRESS_BAR = "GENERATE_PROGRESS_BAR";

    public static final String POPULATION_WIDGET = "POPULATION_WIDGET";

    public static final String STATISTICS_RESULTS_LIST = "STATISTICS_RESULTS_LIST";

    public static final String GENERATE_TABBED_PANE_WIDGET = "GENERATE_TABBED_PANE_WIDGET";

    public static final int GRAPH_WIDTH = 500;

    public static final int GRAPH_HEIGHT = 300;

    public static final String SHOW_GRAPH_WIDGET = "SHOW_GRAPH_WIDGET";

    public static final String GRAPH_OPTIONS_WIDGET = "GRAPH_OPTIONS_WIDGET";

    public static final String LIFE_OVER_GENERATIONS = "Life Over Generations";

    public static final String DEATH_OVER_GENERATIONS = "Death Over Generations";

    public static final String CHANGE_IN_BIRTH = "Change in Birth";

    public static final String LIFE_CANVAS = "LIFE_CANVAS";

    public static final String CELL_INFO_WIDGET = "CELL_INFO_WIDGET";

    public static final String RESET = "RESET";

    public static final String SHOW_STATISTICS = "SHOW_STATISTICS";

    public static final String SHOW_CLUSTERS = "SHOW_CLUSTERS";

    public static final int CLUSTER_THRESHOLD = 5;

    public static final String HIGHLIGHT_CLUSTERS_WIDGET = "HIGHLIGHT_CLUSTERS_WIDGET";

    public static final Color CLUSTER_COLOR = java.awt.Color.yellow;

    public static final boolean CREATE_LIFE_ON_STARTUP = false;

    public static final String SYSTEM_RESOURCES_ERROR_MESSAGE = "Unfortunately, there are not enough system resources to complete the analysis. \n Try again with a smaller border or less generations";

    public static final String APPLICATION_TITLE = "Life Statistical Analyzer                                                                                                             - Created by Matthew Hinds, 2007";

    public static GridBagConstraints getConstraints(int x, int y, int pad)
    {
	GridBagConstraints constraints = new GridBagConstraints();
	constraints.anchor = GridBagConstraints.CENTER;
	constraints.gridx = x;
	constraints.gridy = y;
	constraints.ipadx = pad;
	return constraints;
    }
}
